#!/usr/bin/env python

import autowaf
import Options
import construct

name = 'generic-ui'
bundle = name + '.lv2'

PACKAGE		= name
PACKAGE_VERSION = '0.0.1'

# Variables for 'waf dist'
APPNAME = PACKAGE
VERSION = PACKAGE_VERSION

# Mandatory variables
srcdir = '.'
blddir = 'build'

def set_options(opt):
	autowaf.set_options(opt)

def configure(conf):
	autowaf.configure(conf)
	conf.check_tool('compiler_cxx')
	autowaf.check_pkg(conf, 'lv2-gui', uselib_store='LV2GUI', atleast_version='1.0.2',mandatory=True)
	autowaf.check_pkg(conf, 'paq', uselib_store='PAQ', atleast_version='1.0.2',mandatory=True)

def build(bld):
	construct.generic_ui(bld)
	construct.generic_gtk(bld)
	
def shutdown():
	autowaf.shutdown()